Part Number Hot Search : 
25T10 D6432 N5401 TDA8020 PESD3V3 E101M SFJ78G29 EMK11
Product Description
Full Text Search
 

To Download EP1K50 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  january 2012 altera corporation cf52002-3.0 datasheet ? 2012 altera corporation. all rights reserved. altera, arria, cyclone, hardcopy, max, megacore, nios, quartus and stratix words and logos are trademarks of altera corporation and registered in the u.s. patent and trademark office and in other countries. all other words and logos identified as trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html . altera warrants performance of its semiconductor products to current specifications in accordance with altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by altera. altera customers a re advised to obtain the latest version of device specifications before relying on any published information and before placing or ders for products or services. 101 innovation drive san jose, ca 95134 www.altera.com subscribe iso 9001:2008 registered enhanced configuration (epc) devices datasheet this datasheet describes enhanced configuration (epc) devices. supported devices ta b l e 1 lists the supported altera ? epc devices. features epc devices offer the following features: single-chip configuration solution for altera acex ? 1k, apex ? 20k (including apex 20k, apex 20kc, and apex 20ke), apex ii, arria ? gx, cyclone ? , cyclone ii, flex ? 10k (including flex 10ke and flex 10ka), mercury ? , stratix ? ii, and stratix ii gx devices contains 4-, 8-, and 16-mb flash memories for configuration data storage on-chip decompression feature almost doubles the effective configuration density standard flash die and a controller die combined into single stacked chip package external flash interface supports parallel programming of flash and external processor access to unused portions of memory flash memory block or sector protection capability using the external flash interface supported in epc4 and epc16 devices page mode support for remote and local reconfiguration with up to eight configurations for the entire system compatible with stratix series remote system configuration feature supports byte-wide configuration mode fast passive parallel (fpp) with an 8-bit data output per dclk cycle supports true n -bit concurrent configuration ( n = 1, 2, 4, and 8) of altera fpgas table 1. altera epc devices device memory size (bits) on-chip decompression support isp support cascading support reprogrammable recommended operating voltage (v) epc4 4,194,304 yes yes no yes 3.3 epc8 8,388,608 yes yes no yes 3.3 epc16 16,777,216 yes yes no yes 3.3
page 2 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation pin selectable 2-ms or 100-ms power-on reset (por) time configuration clock supports programmable input source and frequency synthesis multiple configuration clock sources supported (internal oscillator and external clock input pin) external clock source with frequencies up to 100 mhz internal oscillator defaults to 10 mhz and you can program the internal oscillator for higher frequencies of 33, 50, and 66 mhz clock synthesis supported using user programmable divide counter available in the 100-pin plastic quad flat pack (pqfp) and the 88-pin ultra fineline bga (ufbga) packages vertical migration between all devices supported in the 100-pin pqfp package supply voltage of 3.3 v (core and i/o) hardware compliant with ieee std. 1532 in-system prog rammability (isp) specification supports isp using jam ? standard test and programming language (stapl) supports jtag boundary scan the n init _ conf pin allows private jtag instruction to start fpga configuration internal pull-up resistor on the n init _ conf pin always enabled user programmable weak internal pull-up resistors on n cs and oe pins internal weak pull-up resistors on external flash interface address and control lines, bus hold on data lines standby mode with reduced power consumption f for more information about fpga configuration schemes and advanced features, refer to the configuration chapter in the appropriate device handbook. functional description the altera epc device is a single device with high speed and advanced configuration solution for high-density fpgas. the core of an epc device is divided into two major blocks?a configuration controller and a flash memory. the flash memory is used to store configuration data for systems made up of one or more than one altera fpgas. unused portions of the flash memory can be used to store processor code or data that can be accessed using the external flash interface after the fpga configuration is complete.
functional description page 3 enhanced configuration (epc) devices datasheet january 2012 altera corporation ta b l e 2 lists the supported epc devices required to configure an acex 1k, apex 1k, apex 20k, apex 20kc, apex 20ke, apex ii, arria gx, cyclone, cyclo ne ii , flex 10k, flex 10ka, flex 10ke, stratix, stratix gx, stratix ii, stratix ii gx, or mercury device. table 2. supported epc devices for each device family (part 1 of 3) device family device data size (bits) (1) epc devices epc4 (2) epc8 (2) epc16 (2) arria gx ep1agx20c 9,640,672 ? ? 1 ep1agx35c ep1agx35d 9,640,672 ? ? 1 ep1agx50c ep1agx50d 16,951,824 ? ? 1 ep1agx60c ep1agx60d ep1agx60e 16,951,824 ? ? 1 ep1agx90e 25,699,104 ? ? 1 stratix ep1s10 3,534,640 1 1 1 ep1s20 5,904,832 1 1 1 ep1s25 7,894,144 ? 1 1 ep1s30 10,379,368 ? 1 1 ep1s40 12,389,632 ? 1 1 ep1s60 17,543,968 ? ? 1 ep1s80 23,834,032 ? ? 1 stratix gx ep1sgx10 3,534,640 1 1 1 ep1sgx25 7,894,144 ? 1 1 ep1sgx40 12,389,632 ? 1 1 stratix ii ep2s15 4,721,544 1 1 1 ep2s30 9,640,672 ? 1 1 ep2s60 16,951,824 ? ? 1 ep2s90 25,699,104 ? ? ? ep2s130 37,325,760 ? ? ? ep2s180 49,814,760 ? ? ? stratix ii gx ep2sgx30c 9,640,672 ? ? 1 ep2sgx30d 9,640,672 ? ? 1 ep2sgx60c 16,951,824 ? ? 1 ep2sgx60d 16,951,824 ? ? 1 ep2sgx60e 16,951,824 ? ? 1 ep2sgx90e 25,699,104 ? ? ? ep2sgx90f 25,699,104 ? ? ? ep2sgx130g 37,325,760 ? ? ?
page 4 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation cyclone ep1c3 627,376 1 1 1 ep1c4 924,512 1 1 1 ep1c6 1,167,216 1 1 1 ep1c12 2,326,528 1 1 1 ep1c20 3,559,608 1 1 1 cyclone ii ep2c5 1,223,980 1 1 1 ep2c8 1,983,792 1 1 1 ep2c20 3,930,986 1 1 1 ep2c35 7,071,234 ? 1 1 ep2c50 9,122,148 ? 1 1 ep2c70 10,249,694 ? 1 1 acex 1k ep1k10 159,160 1 1 1 ep1k30 473,720 1 1 1 EP1K50 784,184 1 1 1 ep1k100 1,335,720 1 1 1 apex 20k ep20k100 993,360 1 1 1 ep20k200 1,950,800 1 1 1 ep20k400 3,880,720 1 1 1 apex 20kc ep20k200c 196,8016 1 1 1 ep20k400c 390,9776 1 1 1 ep20k600c 567,3936 1 1 1 ep20k1000c 8,960,016 ? 1 1 apex 20ke ep20k30e 354,832 1 1 1 ep20k60e 648,016 1 1 1 ep20k100e 1,008,016 1 1 1 ep20k160e 1,524,016 1 1 1 ep20k200e 1,968,016 1 1 1 ep20k300e 2,741,616 1 1 1 ep20k400e 3,909,776 1 1 1 ep20k600e 5,673,936 1 1 1 ep20k1000e 8,960,016 ? 1 1 ep20k1500e 12,042,256 ? 1 1 apex ii ep2a15 4,358,512 1 1 1 ep2a25 6,275,200 1 1 1 ep2a40 9,640,528 ? 1 1 ep2a70 17,417,088 ? ? 1 table 2. supported epc devices for each device family (part 2 of 3) device family device data size (bits) (1) epc devices epc4 (2) epc8 (2) epc16 (2)
functional description page 5 enhanced configuration (epc) devices datasheet january 2012 altera corporation f for more information about epc devices, refer to the pcn0506: addition of intel flash memory as source for epc4, epc8, and epc16 enhanced configuration devices and using the intel flash memory-based epc4, epc8 and epc16 devices white paper. flex 10k epf10k10 118,000 1 1 1 epf10k20 231,000 1 1 1 epf10k30 376,000 1 1 1 epf10k40 498,000 1 1 1 epf10k50 621,000 1 1 1 epf10k70 892,000 1 1 1 epf10k100 1,200,000 1 1 1 flex 10ka epf10k10a 120,000 1 1 1 epf10k30a 406,000 1 1 1 epf10k50v 621,000 1 1 1 epf10k100a 1,200,000 1 1 1 epf10k130v 1,600,000 1 1 1 epf10k250a 3,300,000 1 1 1 flex 10ke epf10k30e 473,720 1 1 1 epf10k50e 784,184 1 1 1 epf10k50s 784,184 1 1 1 epf10k100b 1,200,000 1 1 1 epf10k100e 1,335,720 1 1 1 epf10k130e 1,838,360 1 1 1 epf10k200e 2,756,296 1 1 1 epf10k200s 2,756,296 1 1 1 mercury ep1m120 1,303,120 1 ? 1 ep1m350 4,394,032 1 ? 1 notes to ta bl e 2 : (1) the raw binary file ( .rbf ) sizes are used to determine the data size for each device. (2) these values are calculated with the compression feature of the epc device enabled. table 2. supported epc devices for each device family (part 3 of 3) device family device data size (bits) (1) epc devices epc4 (2) epc8 (2) epc16 (2)
page 6 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation epc devices support three different types of flash memory. table 3 lists the supported flash memory for all epc devices. f the external flash interface feature is supported in epc4 and epc16 devices. for more information about using this feature in the epc8 device, contact altera applications 24/7 technical support . epc devices have a 3.3-v core and i/o interface. the controller chip is a synchronous system that implements the various interfaces and features. the controller chip features three separate interfaces: a configuration interface between the controller and the altera fpgas a jtag interface on the controller that enables isp of the flash memory an external flash interface that the controller shares with an external processor or fpga implementing a nios ? embedded processor?an interface available after isp and configuration table 3. epc devices flash memory device grade package flash memory leaded lead-fee epc4 commercial pqfp 100 intel (1) or micron intel (1) or micron industrial pqfp 100 intel (1) or micron intel (1) epc8 commercial/ industrial pqfp 100 intel (1) or sharp intel (1) epc16 commercial ubga 88 intel (1) or sharp intel (1) or sharp industrial ubga 88 intel (1) or sharp intel (1) military ubga 88 intel (1) intel (1) commercial/ industrial pqfp 100 intel (1) or sharp intel (1) note to tab l e 3 : (1) for more information, refer to the pcn0506: addition of intel flash memory as source for epc4, epc8 and epc16 enhanced configuration devices .
functional description page 7 enhanced configuration (epc) devices datasheet january 2012 altera corporation figure 1 shows a block diagram of the epc device. the epc device features multiple configuration schemes. in addition to supporting the traditional passive serial (ps) configuration scheme for a single device or a serial-device chain, the epc device features concurrent configuration and parallel configuration. with the concurrent configuration scheme, up to eight ps device chains can be configured simultaneously. in the fpp configuration scheme, 8-bits of data are clocked into the fpga during each cycle. these configuration schemes offer significantly reduced configuration times over traditional schemes. furthermore, the epc device features a dynamic configuration or page mode feature. this feature allows you to dynamically reconfigure all the fpgas in your system with new images stored in the configuration memory. up to eight different system configurations or pages can be stored in the memory and selected using the pgm[2..0] pins. your system can be dynamically reconfigured by selecting one of the eight pages and initiating a reconfiguration cycle. this page mode feature combined with the external flash interface allows remote and local updates of system configuration data. the epc devices are compatible with the remote system configuration feature of the stratix device. f for more information, refer to the remote system configuration with stratix & stratix gx devices chapter in the stratix device handbook . other user programmable features include: real-time decompression of configuration data programmable configuration clock ( dclk ) flash isp programmable por delay ( porsel ) figure 1. epc device block diagram flash fpga controller jtag/isp interface epc device shared flash interface shared flash interface
page 8 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation fpga configuration fpga configuration is managed by the configuration controller chip. this process includes reading configuration data from the flash memory, decompressing the configuration data, transmitting configuration data using the appropriate data[] pins, and handling error conditions. after por, the controller determines the user-defined configuration options by reading its option bits from the flash memory. these options include the configuration scheme, configuration clock speed, decompression, and configuration page settings. the option bits are stored at flash address location 0x8000 (word address) and occupy 512-bits or 32-words of memory. these options bits are read using the internal flash interface and the default 10 mhz internal oscillator. after obtaining the configuration settings, the configuration controller chip checks if the fpga is ready to accept configuration data by monitoring the n status and conf _ done signals. when the fpga is ready ( n status is high and conf _ done is low), the controller begins data transfer using the dclk and data[] output pins. the controller selects the configuration page to be transmitted to the fpga by sampling its pgm[2..0] pins after por or reset. the function of the configuration unit is to transmit decompressed data to the fpga, depending on the configuration scheme. the epc device supports four concurrent configuration modes, with n = 1, 2, 4, or 8 (where n is the number of bits that are sent per dclk cycle on the data[ n ] signals). the value n = 1 corresponds to the traditional ps configuration scheme. the values n = 2, 4, and 8 correspond to concurrent configuration of 2, 4, or 8 different ps configuration chains, respectively. additionally, the fpga can be configured in fpp mode, where eight bits of data are clocked into the fpga per dclk cycle. depending on the configuration bus width ( n ), the circuit shifts uncompressed configuration data to the valid data[ n ] pins. unused data[] pins drive low. in addition to transmitting configuration data to the fpgas, the configuration circuit is also responsible for pausing configuration whenever there is insufficient data available for transmission. this occurs when the flash read bandwidth is lower than the configuration write bandwidth. configuration is paused by stopping the dclk to the fpga, when waiting for data to be read from the flash or for data to be decompressed. this technique is called ?pausing dclk ?. the epc device flash-memories feature a 90-ns access time (approximately 10 mhz). hence, the flash read bandwidth is limited to about 160 megabits per second (mbps) (16-bit flash data bus, dq[] , at 10 mhz). however, the configuration speeds supported by altera fpgas are much higher and translate to high configuration write bandwidths. for example, 100-mhz stratix fpp configuration requires data at the rate of 800 mbps (8-bit data[] bus at 100 mhz). this is much higher than the 160 mbps the flash memory can support and is the limiting factor for configuration time. compression increases the effective flash-read bandwidth as the same amount of configuration data takes up less space in the flash memory after compression. since stratix configuration data compression ratios are approximately two, the effective read bandwidth doubles to about 320 mbps.
functional description page 9 enhanced configuration (epc) devices datasheet january 2012 altera corporation finally, the configuration controller also manages errors during configuration. a conf _ done error occurs when the fpga does not de-assert its conf _ done signal within 64 dclk cycles after the last bit of configuration data is transmitted. when a conf _ done error is detected, the controller pulses the oe line low, which pulls the n status signal low and triggers another configuration cycle. a cyclic redundancy check (crc) error occurs when the fpga detects corruption in the configuration data. this corruption could be a result of noise coupling on the board such as poor signal integrity on the configuration signals. when this error is signaled by the fpga (by driving the n status signal low), the controller stops configuration. if the auto-restart configuration after error option is enabled in the fpga, it releases its n status signal after a reset time-out period and the controller attempts to reconfigure the fpga. after the fpga configuration process is complete, the controller drives the dclk pin low and the data[] pins high. additionally, the controller tri-states its internal interface to the flash memory, enables the weak internal pull-ups on the flash address and control lines, and enables bus-keep circuits on flash data lines. the following sections describe the different configuration schemes supported by the epc device?fpp, ps, and concurrent configuration schemes. f for more information, refer to the configuration chapter in the appropriate device handbook. configuration signals ta b l e 4 lists the configuration signal connections between the epc device and altera fpgas. table 4. configuration signals epc device pin altera fpga pin description data[] data[] configuration data transmitted from the epc device to the fpga, which is latched on the rising edge of dclk . dclk dclk epc device generated clock used by the fpga to latch configuration data provided on the data[] pins. n init_conf, which n config open-drain output from the epc device that is used to start fpga reconfiguration using the initiate configuration ( init _ conf ) jtag instruction. this connection is not needed if the init _ conf jtag instruction is not needed. if n init _ conf is not connected to n config , n config must be tied to v cc either directly or through a pull-up resistor. oe n status open-drain bidirectional configuration status signal, which is driven low by either the epc device or fpga during por and to signal an error during configuration. low pulse on oe resets the epc device controller. n cs conf_done configuration done output signal driven by the fpga.
page 10 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation fast passive parallel configuration stratix series and apex ii devices can be configured using the epc device in the fpp configuration mode. in this mode, the epc device sends a byte of data on the data[7..0] pins, which connect to the data[7..0] input pins of the fpga, per dclk cycle. stratix series and apex ii fpgas receive byte-wide configuration data per dclk cycle. figure 2 shows the epc device in fpp configuration mode. in this figure, the external flash interface is not used and hence most flash pins are left unconnected (with the few noted exceptions). f for more information about configuration interface connections including the pull-up resistor values, supply voltages, and msel pin settings, refer to the configuration chapter in the appropriate device handbook. figure 2. fpp configuration notes to figure 2 : (1) the v cc should be connected to the same supply voltage as the epc device. (2) the n init _ conf pin is available on epc devices and has an internal pull-up resistor that is always active. this means an external pull-up resistor is not required on the n init _ conf or n config signal. the n init _ conf pin does not need to be connected if its functionality is not used. if n init _ conf is not used, n config must be pulled to v cc either directly or through a resistor. (3) the epc devices? oe and n cs pins have internal programmable pull-up resistors. if internal pull-up resistors are used, external pull-up resistors should not be used on these pins. the internal pull-up resistors are used by default in the quartus ? ii software. to turn off the internal pull-up resistors, check the disable ncs and oe pull-ups on configuration device option when generating programming files. (4) for porsel , pgm[] , and exclk pin connections, refer to table 10 on page 24 . (5) in the 100-pin pqfp package, you must externally connect the following pins: c-a0 to f-a0 , c-a1 to f-a1 , c-a15 to f-a15 , c-a16 to f-a16 , and byte# to v cc . additionally, you must make the following pin connections in both 100-pin pqfp and 88-pin ufbga packages: c-rp# to f-rp# , c-we# to f-we# , tm1 to v cc , tm0 to gnd, and wp# to v cc . (6) connect the fpga msel[] input pins to select the fpp configuration mode. for more information, refer to the configuration chapter in the appropriate device handbook. (7) to protect intel flash-based epc devices content, isolate the v ccw supply from v cc . for more information, refer to ?intel flash-based epc device protection? on page 16 . epc device dclk data[7..0] oe ncs ninit_conf (2) msel dclk data[7..0] nstatus conf_done nconfig v cc v cc gnd gnd (3) (3) nce exclk stratix series or apex ii device we#c rp#c wp# porsel pgm[2..0] tmo we#f rp#f a[20..0] ry/by# ce# oe# dq[15..0] v cc n.c. n.c. n.c. n.c. n.c. byte# (5) tm1 (3) (3) c-a0 (5) c-a1 (5) c-a15 (5) c-a16 (5) a0-f a1-f a15-f a16-f (1) (1) n (6) (1) nceo n.c. (4) (4) (4) vccw v cc (7)
functional description page 11 enhanced configuration (epc) devices datasheet january 2012 altera corporation multiple fpgas can be configured using a single epc device in fpp mode. in this mode, multiple stratix series fpgas, apex ii fpgas, or both, are cascaded together in a daisy chain. after the first fpga completes configuration, its n ceo pin asserts to activate the n ce pin for the second fpga, which prompts the second device to start capturing configuration data. in this setup, the fpgas conf _ done pins are tied together, and hence all devices initialize and enter user mode simultaneously. if the epc device or one of the fpgas detects an error, configuration stops (and simultaneously restarts) for the whole chain because the n status pins are tied together. 1 while altera fpgas can be cascaded in a configuration chain, the epc devices cannot be cascaded to configure larger devices or chains. f for more information about configuration schematics and multi-device fpp configuration, refer to the configuration chapter in the appropriate device handbook. passive serial configuration apex 20kc, apex 20ke, apex 20k, apex ii, cyclone series, flex 10k, and stratix series devices can be configured using epc devices in the ps mode. this mode is similar to the fpp mode, with the exception that only one bit of data ( data[0] ) is transmitted to the fpga per dclk cycle. the remaining data[7..1] output pins are unused in this mode and driven low. the configuration schematic for ps configuration of a single fpga or single-serial chain is identical to the fpp schematic, with the exception that only data[0] output from the epc device connects to the fpga data0 input pin and the remaining data[7..1] pins are left floating. f for more information about configuration schematics and multi-device ps configuration, refer to the configuration chapter in the appropriate device handbook. concurrent configuration epc devices support concurrent configuration of multiple fpgas (or fpga chains) in ps mode. concurrent configuration is when the epc device simultaneously outputs n bits of configuration data on the data[ n -1..0] pins ( n = 1, 2, 4, or 8), and each data[] line serially configures a different fpga chain. the number of concurrent serial chains is user-defined using the quartus ii software and can be any number from 1 to 8. for example, for three concurrent chains, you can select the 4-bit ps mode and connect the least significant data bits to the fpgas or fpga chains. leave the most significant data bit ( data[3] ) unconnected. similarly, for 5-, 6-, or 7-bit concurrent chains you can select the 8-bit ps mode. f for more information about configuration interface connections including pull-up resistor values, supply voltages, and msel pin settings, refer to the configuration chapter in the appropriate device handbook.
page 12 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation figure 3 shows the schematic for configuring multiple fpgas concurrently in the ps mode using an epc device. figure 3. concurrent configuration of multiple fpgas in ps mode (n = 8) notes to figure 3 : (1) connect v cc to the same supply voltage as the epc device. (2) the n init _ conf pin is available on epc devices and has an internal pull-up resistor that is always active. this means an external pull-up resistor is not required on the n init _ conf or n config signal. the n init _ conf pin does not need to be connected if its functionality is not used. if n init _ conf is not used, n config must be pulled to v cc either directly or through a resistor. (3) the epc devices? oe and n cs pins have internal programmable pull-up resistors. if internal pull-up resistors are used, external pull-up resistors should not be used on these pins. the internal pull-up resistors are used by default in the quartus ii software. to turn off the internal pull-up resistors, check the disable ncs and oe pull-ups on configuration device option when generating programming files. (4) for porsel , pgm[] , and exclk pin connections, refer to table 10 on page 24 . (5) in the 100-pin pqfp package, you must externally connect the following pins: c-a0 to f-a0 , c-a1 to f-a1 , c-a15 to f-a15 , c-a16 to f-a16 , and byte# to v cc . additionally, you must make the following pin connections in both 100-pin pqfp and 88-pin ufbga packages: c-rp# to f- rp# , c-we# to f-we# , tm1 to v cc , tm0 to gnd, and wp# to v cc . (6) connect the fpga msel[] input pins to select the ps configuration mode. for more information, refer to the configuration chapter in the appropriate device handbook. (7) to protect intel flash based epc devices content, isolate the v ccw supply from v cc . for more information, refer to ?intel flash-based epc device protection? on page 16 . dclk data 0 nstatus conf_done nconfig v cc gnd (3) nce (3) fpga0 v cc dclk data 0 nconfig nce dclk data 0 gnd gnd fpga1 fpga7 epc device dclk data 0 oe ncs ninit_conf (2) we#c rp#c we#f rp#f a[20..0] ry/by# ce# oe# dq[15..0] data 1 nstatus conf_done nstatus conf_done nconfig nce data 7 n.c. n.c. n.c. n.c. n.c. (3) (3) exclk porsel pgm[2..0] gnd tmo wp# v cc vccw byte# (5) tm1 c-a0 (5) c-a1 (5) c-a15 (5) c-a16 (5) a0-f a1-f a15-f a16-f msel msel msel n n n (6) (6) (6) (1) (1) nceo n.c. nceo n.c. nceo n.c. (1) (4) (4) (4) v cc (7)
functional description page 13 enhanced configuration (epc) devices datasheet january 2012 altera corporation ta b l e 5 lists the concurrent ps configuration modes supported in the epc device. f for more information about configuration schematics and concurrent configurations, refer to the configuration chapter in the appropriate device handbook. external flash interface the epc devices support external fpga or processor access to its flash memory. the unused portions of the flash memory can be used by the external device to store code or data. this interface can also be used in systems that implement remote configuration capabilities. configuration data within a particular configuration page can be updated using the external flash interface and the system could be reconfigured with the new fpga image. this interface is also useful to store nios boot code, application code, or both. f for more information about the stratix remote configuration feature, refer to the remote system configuration with stratix & stratix gx devices chapter in the stratix device handbook . the address, data, and control ports of the flash memory are internally connected to the epc device controller and external device pins. an external source can drive these external device pins to access the flash memory when the flash interface is available. this external flash interface is a shared bus interface with the configuration controller chip. the configuration controller is the primary bus master. since there is no bus arbitration support, the external device can only access the flash interface when the controller has tri-stated its internal interface to the flash. simultaneous access by the controller and the external device will cause contention, and result in configuration and programming failures. since the internal flash interface is directly connected to the external flash interface pins, controller flash access cycles will toggle the external flash interface pins. the external device must be able to tri-state its flash interface during these operations and ignore transitions on the flash interface pins. 1 the external flash interface signals cannot be shared between multiple epc devices because this causes contention during isp and configuration. during these operations, the controller chips inside the epc devices are actively accessing flash memory. therefore, epc devices do not support shared flash bus interfaces. table 5. epc devices in ps mode mode name mode ( n =) (1) used outputs unused outputs ps mode 1 data0 data[7..1] drive low multi-device ps mode 2 data[1..0] data[7..2] drive low multi-device ps mode 4 data[3..0] data[7..4] drive low multi-device ps mode 8 data[7..0] ? note to tab l e 5 : (1) this is the number of valid data outputs for each configuration mode.
page 14 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation the epc device controller chip accesses flash memory during: fpga configuration?reading configuration data from flash jtag-based flash programming?storing configuration data in flash at por?reading option bits from flash during these operations, the external fpga or processor must tri-state its interface to the flash memory. after configuration and programming, the epc device?s controller tri-states the internal interface and goes into an idle mode. to interrupt a configuration cycle in order to access the flash using the external flash interface, the external device can hold the fpga?s n config input low. this keeps the configuration device in reset by holding the n status-oe line low, allowing external flash access. f for more information about the software support for the external flash interface feature, refer to the altera enhanced configuration devices .
functional description page 15 enhanced configuration (epc) devices datasheet january 2012 altera corporation figure 4 shows an fpp configuration schematic with the external flash interface in use. figure 4. fpp configuration with external flash interface (1) notes to figure 4 : (1) for external flash interface support in the epc8 device, contact altera applications 24/7 technical support . (2) pin a20 in epc16 devices, pins a20 and a19 in epc8 devices, and pins a20 , a19 , and a18 in epc4 devices should be left floating. these pins should not be connected to any signal as they are nc pins. (3) in the 100-pin pqfp package, you must externally connect the following pins: c-a0 to f-a0 , c-a1 to f-a1 , c-a15 to f-a15 , c-a16 to f-a16 , and byte# to v cc . additionally, you must make the following pin connections in both 100-pin pqfp and 88-pin ufbga packages: c-rp# to f-rp# , c-we# to f-we# , tm1 to v cc , tm0 to gnd, and wp# to v cc . (4) for porsel , pgm[] , and exclk pin connections, refer to table 10 on page 24 . (5) ry/by# pin is only available for sharp flash-based epc8 and epc16 devices. (6) to protect intel flash based epc devices content, isolate the v ccw supply from v cc . for more information, refer to ?intel flash-based epc device protection? on page 16 . ( 4 ) ( 4 ) msel dclk data[7..0] nstatus conf_done nconfig v cc v cc gnd nce stratix series or apex ii device we# rp# a[20..0] ry/by# ce# oe# dq[15..0] pld or processor epc device dclk data [ 7 . . 0 ] oe ncs ninit_conf we#c rp#c we#f rp#f a[20..0] (2) ry/by# (5) ce# oe# dq[15..0] gnd exclk wp# porsel pgm[2..0] tmo v cc vccw byte# (3) tm1 c-a0 (3) c-a1 (3) c-a15 (3) c-a16 (3) a0-f a1-f a15-f a16-f n nceo n.c. (4) (4) (4) v cc (6)
page 16 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation intel flash-based epc device protection in the absence of the lock bit protection feature in the epc4, epc8, and epc16 devices with intel flash, altera recommends four methods to protect the intel flash content in epc4, epc8, and epc16 devices. any method alone is sufficient to protect the flash. the methods are listed here in the order of descending protection level: 1. using an rp# of less than 0.3 v on power-up and power-down for a minimum of 100 ns to a maximum 25 ms disables all control pins, making it impossible for a write to occur. 2. using v pp < v pplk , where the maximum value of v pplk is 1 v, disables writes. v pp < v pplk means programming or writes cannot occur. v pp is a programming supply voltage input pin on the intel flash. v pp is equivalent to the vccw pin on epc devices. 3. using a high ce# disables the chip. the requirement for a write is a low ce# and low we#. a high ce# by itself prevents writes from occurring. 4. using a high we# prevent writes because a write only occurs when the we# is low. performing all four methods simultaneously is the safest protection for the flash content. the following lists the ideal power-up sequence: 1. power up v cc . 2. maintain v pp < v pplk until v cc is fully powered up. 3. power up v pp . 4. drive rp# low during the entire power-up process. rp# must be released high within 25 ms after v pp is powered up. 1 ce# and we# must be high for the entire power-up sequence. the following lists the ideal power-down sequence: 1. drive rp# low for 100 ns before power-down. 2. power down v pp < v pplk . 3. power down v cc . 4. drive rp# low during the entire power-down process. 1 ce# and we# must be high for the entire power-down sequence. the rp# pin is not internally connected to the controller. therefore, an external loop-back connection between c-rp# and f-rp# must be made on the board even when you are not using the external device to the rp# pin with the loop-back connection. always tri-state rp# when the flash is not in use.
functional description page 17 enhanced configuration (epc) devices datasheet january 2012 altera corporation if an external power up monitoring circuit is connected to the rp# pin with the loop-back connection, use the following guidelines to avoid contention on the rp# line: the power-up sequence on the 3.3-v supply should complete within 50 ms of power up. the 3.3-v v cc should reach the minimum v cc before 50 ms and rp# should then be released. rp# should be driven low by the power-up monitoring circuit during power up. after power up, rp# should be tri-stated externally by the power-up monitoring circuit. if the preceding guidelines cannot be completed within 50 ms, then the oe pin must be driven low externally until rp# is ready to be released. dynamic configuration (page mode) the dynamic configuration (or page mode) feature allows the epc device to store up to eight different sets of designs for all the fpgas in your system. you can then choose which page (set of configuration files) the epc device should use for fpga configuration. dynamic configuration or the page mode feature enables you to store a minimum of two pages?a factory default or fail-safe configuration and an application configuration. the fail-safe configuration page could be programmed during system production, while the application configuration page could support remote or local updates. these remote updates could add or enhance system features and performance. however, with remote update capabilities comes the risk of possible corruption of configuration data. in the event of such a corruption, the system could automatically switch to the fail-safe configuration and avoid system downtime. the epc device page mode feature works with the stratix remote system configuration feature, to enable intelligent remote updates to your systems. f for more information about remotely updating stratix fpgas, refer to the remote system configuration with stratix & stratix gx devices chapter in the stratix device handbook . the three pgm[2..0] input pins control which page is used for configuration and these pins are sampled at the start of each configuration cycle when oe goes high. the page mode selection allows you to dynamically reconfigure the functionality of your fpga by switching the pgm[2..0] pins and asserting n config . page 0 is defined as the default page and the pgm[2] pin is the msb. 1 the pgm[2..0] input pins must not be left floating on your board. when you are not using this feature, connect the pgm[2..0] pins to gnd to select the default page 000. the epc device pages are dynamically-sized regions in memory. the start address and length of each page is programmed into the option-bit space of the flash memory during initial programming. all subsequent configuration cycles sample the pgm[] pins and use the option-bit information to jump to the start of the corresponding configuration page. each page must have configuration files for all fpgas in your system that are connected to that epc device.
page 18 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation for example, if your system requires three configuration pages and includes two fpgas, each page will store two sram object files ( .sof ) for a total of six .sof in the configuration device. furthermore, all epc device configuration schemes (ps, fpp, and concurrent ps) are supported with the page-mode feature. the number of pages, devices, or both, that can be configured using a single epc device is only limited by the size of the flash memory. f for more information about the page-mode feature implementation and programming file generation steps using the quartus ii software, refer to the altera enhanced configuration devices . real-time decompression epc devices support on-chip real time decompression of configuration data. fpga configuration data is compressed by the quartus ii software and stored in the epc device. during configuration, the decompression engine inside the epc device will decompress or expand configuration data. this feature increases the effective-configuration density of the epc device up to 7, 15, or 30 mb in the epc4, epc8, and epc16 devices, respectively. the epc device also supports a parallel 8-bit data bus to the fpga to reduce configuration time. however, in some cases, the fpga data-transfer time is limited by the flash-read bandwidth. for example, when configuring an apex ii device in fpp (byte-wide data per cycle) mode at a configuration speed of 66 mhz, the fpga write bandwidth is equal to 8 bits 66 mhz = 528 mbps. the flash read interface, however, is limited to approximately 10 mhz (since the flash access time is ~90 ns). this translates to a flash-read bandwidth of 16 bits 10 mhz = 160 mbps. hence, the configuration time is limited by the flash-read time. when configuration data is compressed, the amount of data that needs to be read out of the flash is reduced by about 50%. if 16 bits of compressed data yields 30 bits of uncompressed data, the flash-read bandwidth increases to 30 bits 10 mhz = 300 mbps, reducing overall configuration time. you can enable the controller's decompression feature in the quartus ii software, configuration device options window by turning on compression mode . 1 the decompression feature supported in the epc devices is different from the decompression feature supported by the stratix ii fpgas and the cyclone series. when configuring stratix ii fpgas or the cyclone series using epc devices, altera recommends enabling decompression in stratix ii fpgas or the cyclone series only for faster configuration. the compression algorithm used in altera devices is optimized for fpga configuration bitstreams. since fpgas have several layers of routing structures (for high performance and easy routability), large amounts of resources go unused. these unused routing and logic resources as well as un-initialized memory structures result in a large number of configuration ram bits in the disabled state. altera's proprietary compression algorithm takes advantage of such bitstream qualities.
functional description page 19 enhanced configuration (epc) devices datasheet january 2012 altera corporation the general guideline for effectiveness of compression is the higher the device logic or routing utilization, the lower the compression ratio (where the compression ratio is defined as the original bitstream size divided by the compressed bitstream size). for stratix designs, based on a suite of designs with varying amounts of logic utilization, the minimum compression ratio was observed to be 1.9 or a ~47% size reduction for these designs. table 6 lists sample compression ratios from a suite of stratix designs. these numbers serve as a guideline, not a specification, to help you allocate sufficient configuration memory to store compressed bitstreams. programmable configuration clock the configuration clock ( dclk ) speed is user programmable. one of two clock sources can be used to synthesize the configuration clock; a programmable oscillator or an external clock input pin ( exclk ). the configuration clock frequency can be further synthesized using the clock divider circuitry. this clock can be divided by the n counter to generate your dclk output. the n divider supports all integer dividers between 1 and 16, as well as a 1.5 divider and a 2.5 divider. the duty cycle for all clock divisions other than non-integer divisions is 50% (for the non-integer dividers, the duty cycle will not be 50%). figure 5 shows a block diagram of the clock divider unit. the dclk frequency is limited by the maximum dclk frequency the fpga supports. f for more information about the maximum dclk input frequency supported by the fpga, refer to the configuration chapter in the appropriate device handbook. table 6. stratix compression ratios (1) item minimum average logic utilization 98% 64% compression ratio 1.9 2.3 % size reduction 47% 57% note to tab l e 6 : (1) these numbers are preliminary. they are intended to serve as a guideline, not a specification. figure 5. clock divider unit configuration de v ice clock di v ider unit di v ide by n external clock (up to 100 mhz) internal oscillator 10 mhz 33 mhz 50 mhz 66 mhz dclk
page 20 functional description enhanced configuration (epc) devices datasheet january 2012 altera corporation the controller chip features a programmable oscillator that can output four different frequencies. the various settings generate clock outputs at frequencies as high as 10, 33, 50, and 66 mhz. ta b le 7 lists the internal oscillator frequencies. clock source, oscillator frequency, and clock divider (n) settings can be made in the quartus ii software, by accessing the configuration device options inside the device settings window or the convert programming files window. the same window can be used to select between the internal oscillator and the external clock (exclk) input pin as your configuration clock source. the default setting selects the internal oscillator at the 10 mhz setting as the clock source, with a divide factor of 1. f for more information about making the configuration clock source, frequency, and divider settings, refer to the altera enhanced configuration devices . flash in-system programming (isp) the flash memory inside epc devices can be programmed in-system using the jtag interface and the external flash interface. jtag-based programming is facilitated by the configuration controller in the epc device. external flash interface programming requires an external processor or fpga to control the flash. 1 the epc device flash memory supports 100,000 erase cycles. jtag-based programming the ieee std. 1 149.1 jtag boundary scan is implemented in epc devices to facilitate the testing of its interconnection and functionality. epc devices also support the isp mode. the epc device is compliant with the ieee std. 1532 draft 2.0 specification. the jtag unit of the configuration controller communicates directly with the flash memory. the controller processes the isp instructions and performs the necessary flash operations. epc devices support the maximum jtag tck frequency of 10 mhz. during jtag-based isp, the external flash interface is not available. before the jtag interface programs the flash memory, an optional jtag instruction ( pendcfg ) can be used to assert the fpga?s n config pin (using the n init _ conf pin). this will keep the fpga in reset and terminate any internal flash access. this function prevents contention on the flash pins when both jtag isp and an external fpga or processor try to access the flash simultaneously. the n init _ conf pin is released when the initiate configuration ( n init _ conf ) jtag instruction is updated. as a result, the fpga is configured with the new configuration data stored in flash. you can add an initiate configuration ( n init_conf ) jtag instruction to your programming file in the quartus ii software by enabling the initiate configuration after programming option in the programmer options window (options menu). table 7. internal oscillator frequencies frequency setting min (mhz) typ (mhz) max (mhz) 10 6.4 8.0 10.0 33 21.0 26.5 33.0 50 32.0 40.0 50.0 66 42.0 53.0 66.0
functional description page 21 enhanced configuration (epc) devices datasheet january 2012 altera corporation programming using external flash interface this method allows parallel programming of the flash memory using the 16-bit data bus. an external processor or fpga acts as the flash controller and has access to programming data using a communication link such as uart, ethernet, and pci. in addition to the program, erase, and verify operations, the external flash interface supports block or sector protection instructions. external flash interface programming is only allowed when the configuration controller has relinquished flash access by tri-stating its internal interface. if the controller has not relinquished flash access during configuration or jtag-based isp, you must hold the controller in reset before initiating external programming. the controller can be reset by holding the fpga n config line at a logic low level. this keeps the controller in reset by holding the n status - oe line low, allowing external flash access. 1 if initial programming of the epc device is done in-system using the external flash interface, the controller must be kept in reset by driving the fpga n config line low to prevent contention on the flash interface.
page 22 pin description enhanced configuration (epc) devices datasheet january 2012 altera corporation pin description ta b l e 8 through ta b l e 1 0 list the epc device pins. these tables include configuration interface pins, external flash interface pins, jtag interface pins, and other pins. table 8. configuration interface pins pin name pin type description data[7..0] output configuration data output bus. data changes on each falling edge of dclk . data is latched into the fpga on the rising edge of dclk . dclk output the dclk output pin from the epc device serves as the fpga configuration clock. data is latched by the fpga on the rising edge of dclk . n cs input the n cs pin is an input to the epc device and is connected to the fpga?s conf _ done signal for error detection after all configuration data is transmitted to the fpga. the fpga will always drive n cs and oe low when n config is asserted. this pin contains a programmable internal weak pull-up resistor of 6 k ? that can be disabled or enabled in the quartus ii software through the disable ncs and oe pull-ups on configuration device option. n init_conf open-drain output the n init _ conf pin can be connected to the n config pin on the fpga to initiate configuration from the epc device using a private jtag instruction. this pin contains an internal weak pull-up resistor of 6k ?? that is always active. the init _ conf pin does not need to be connected if its functionality is not used. if n init _ conf is not used, n config must be pulled to v cc either directly or through a pull-up resistor. oe open-drain bidirectional this pin is driven low when por is not complete. a user-selectable 2-ms or 100-ms counter holds off the release of oe during initial power up to permit voltage levels to stabilize. por time can be extended by externally holding oe low. oe is connected to the fpga n status signal. after the epc device controller releases oe , it waits for the n status - oe line to go high before starting the fpga configuration process. this pin contains a programmable internal weak pull-up resistor of 6 k ?? that can be disabled or enabled in the quartus ii software through the disable ncs and oe pull-ups on configuration device option.
pin description page 23 enhanced configuration (epc) devices datasheet january 2012 altera corporation table 9. external flash interface pins (part 1 of 2) pin name pin type description a[20..0] input these pins are the address input to the flash memory for read and write operations. the addresses are internally latched during a write cycle. when the external flash interface is not used, leave these pins floating (with a few exceptions (1) ). these flash address, data, and control pins are internally connected to the configuration controller. in the 100-pin pqfp package, four address pins ( a0 , a1 , a15 , a16 ) are not internally connected to the controller. these loop-back connections must be made on the board between the c-a[] and f-a[] pins even when you are not using the external flash interface. all other address pins are connected internal to the package. all address pins are connected internally in the 88-pin ufbga package. pin a20 in epc16 devices, pins a20 and a19 in epc8 devices, and pins a20 , a19 , and a18 in epc4 devices are nc pins. these pins should be left floating on the board. dq[15..0] bidirectional this is the flash data bus interface between the flash memory and the controller. the controller or an external source drives dq[15..0] during the flash command and the data write bus cycles. during the data read cycle, the flash memory drives the dq[15..0] to the controller or external device. leave these pins floating on the board when the external flash interface is not used. ce# input active low flash input pin that activates the flash memory when asserted. when it is high, it deselects the device and reduces power consumption to standby levels. this flash input pin is internally connected to the controller. leave this pin floating on the board when the external flash interface is not used. rp# (1) input active low flash input pin that resets the flash when asserted. when high, it enables normal operation. when low, it inhibits write operation to the flash memory, which provides data protection during power transitions. this flash input is not internally connected to the controller. hence, an external loop-back connection between c-rp# and f-rp# must be made on the board even when you are not using the external flash interface. when using the external flash interface, connect the external device to the rp# pin with the loop back. always tri-state rp# when the flash is not in use. oe# input active-low flash-control input that is asserted by the controller or external device during flash read cycles. when asserted, it enables the drivers of the flash output pins. leave this pin floating on the board when the external flash interface is not used. we# (1) input active-low flash-write strobe asserted by the controller or external device during flash write cycles. when asserted, it controls writes to the flash memory. in the flash memory, addresses and data are latched on the rising edge of the we# pulse. this flash input is not internally connected to the controller. hence, an external loop-back connection between c-we# and f-we# must be made on the board even when you are not using the external flash interface. when using the external flash interface, connect the external device to the we# pin with the loop back.
page 24 pin description enhanced configuration (epc) devices datasheet january 2012 altera corporation wp# input usually tied to v cc or gnd on the board. the controller does not drive this pin because it could cause contention. connection to v cc is recommended for faster block erase or programming times and to allow programming of the flash-bottom boot block, which is required when programming the device using the quartus ii software. this pin should be connected to v cc even when the external flash interface is not used. v ccw supply block erase, full-chip erase, word write, or lock-bit configuration power supply. connect this pin to the 3.3-v v cc supply, even when you are not using the external flash interface. ry/by# open-drain output flash asserts this pin when a write or erase operation is complete. this pin is not connected to the controller. ry/by# is only available in sharp flash-based epc8 and epc16. (2) leave this pin floating when the external flash interface is not used. byte# input flash byte-enable pin and is only available for epc devices in the 100-pin pqfp package. this pin must be connected to v cc on the board even when you are not using the external flash interface (the controller uses the flash in 16-bit mode). for intel flash-based epc device, this pin is connected to the v ccq of the intel flash die internally. therefore, byte# must be connected directly to v cc without using any pull-up resistor. notes to ta bl e 9 : (1) these pins can be driven to 12 v during production testing of the flash memory. since the controller cannot tolerate the 12-v level, connections from the controller to these pins are not made internal to the package. instead they are available as two separate pins. you mu st connect the two pins at the board level (for example, on the pcb, connect the c-we# pin from controller to f-we# pin from the flash memory). (2) for more information, refer to the pcn0506: addition of intel flash memory as source for epc4, epc8 and epc16 enhanced configuration devices and using the intel flash memory-based epc4, epc8 and epc16 white paper. table 10. jtag interface pins and other required controller pins (part 1 of 2) pin name pin type description tdi input jtag data input pin. connect this pin to v cc if the jtag circuitry is not used. tdo output jtag data output pin. do not connect this pin if the jtag circuitry is not used (leave this pin floating). tck input jtag clock pin. connect this pin to gnd if the jtag circuitry is not used. tms input jtag mode select pin. connect this pin to v cc if the jtag circuitry is not used. pgm[2..0] input these three input pins select one of the eight pages of configuration data to configure the fpgas in the system. connect these pins on the board to select the page specified in the quartus ii software when generating the epc device pof. pgm[2] is the msb. the default selection is page 0; pgm[2..0]=000 . these pins must not be left floating. table 9. external flash interface pins (part 2 of 2) pin name pin type description
power-on reset page 25 enhanced configuration (epc) devices datasheet january 2012 altera corporation power-on reset the por circuit keeps the system in reset until power-supply voltage levels have stabilized. the por time consists of the v cc ramp time and a user-programmable por delay counter. when the supply is stable and the por counter expires, the por circuit releases the oe pin. the por time can be further extended by an external device by driving the oe pin low. 1 do not execute jtag or isp instructions until por is complete. the epc device supports a programmable por delay setting. you can set the por delay to the default 100-ms setting or reduce the por delay to 2 ms for systems that require fast power-up. the porsel input pin controls this por delay?a logic-high level selects the 2-ms delay, while a logic-low level selects the 100-ms delay. the epc device enters reset under the following conditions: the por reset starts at initial power-up during v cc ramp-up or if v cc drops below the minimum operating condition anytime after v cc has stabilized the fpga initiates reconfiguration by driving n status low, which occurs if the fpga detects a crc error or if the fpga?s n config input pin is asserted the controller detects a configuration error and asserts oe to begin reconfiguration of the altera fpga (for example, when conf_done stays low after all configuration data has been transmitted) exclk input optional external clock input pin that can be used to generate the configuration clock ( dclk ). when an external clock source is not used, connect this pin to a valid logic level (high or low) to prevent a floating-input buffer. if exclk is used, toggling the exclk input pin after the fpga enters user mode will not effect the epc device operation. porsel input this pin selects a 2-ms or 100-ms por counter delay during power up. when porsel is low, por time is 100 ms. when porsel is high, por time is 2 ms. this pin must be connected to a valid logic level. tm0 input for normal operation, this test pin must be connected to gnd. tm1 input for normal operation, this test pin must be connected to v cc . table 10. jtag interface pins and other required controller pins (part 2 of 2) pin name pin type description
page 26 power sequencing enhanced configuration (epc) devices datasheet january 2012 altera corporation power sequencing altera requires that you power-up the fpga's v ccint supply before the epc device's por expires. power up needs to be controlled so that the epc device?s oe signal goes high after the conf _ done signal is pulled low. if the epc device exits por before the fpga is powered up, the conf _ done signal will be high because the pull-up resistor is holding this signal high. when the epc device exits por, oe is released and pulled high by a pull-up resistor. since the epc device samples the n cs signal on the rising edge of oe , it detects a high level on conf _ done and enters an idle mode. data and dclk outputs will not toggle in this state and configuration will not begin. the epc device will only exit this mode if it is powered down and then powered up correctly. 1 to ensure the epc device enters configuration mode properly, you must ensure that the fpga completes power-up before the epc device exits por. the pin-selectable por time feature is useful for ensuring this power-up sequence. the epc device has two por settings?2 ms when porsel is set to a high level and 100 ms when porsel is set to a low level. for more margin, the 100-ms setting can be selected to allow the fpga to power-up before configuration is attempted. alternatively, a power-monitoring circuit or a power-good signal can be used to keep the fpga?s n config pin asserted low until both supplies have stabilized. this ensures the correct power up sequence for successful configuration. programming and configuration file support the quartus ii software provides programming support for the epc device and automatically generates the .pof for the epc4, epc8, and epc16 devices. in a multi-device project, the quartus ii software can combine the .sof for multiple acex 1k, apex 20k, apex ii, cyclone series, flex 10k, mercury, and stratix series fpgas into one programming file for the epc device. f for more information about generating programming files, refer to the altera enhanced configuration devices . epc devices can be programmed in-system through the industry-standard 4-pin jtag interface. the isp feature in the epc device provides ease in prototyping and updating fpga functionality. after programming an epc device in-system, fpga configuration can be initiated by including the epc device?s jtag init _ conf instruction (refer to table 11 ).
programming and configuration file support page 27 enhanced configuration (epc) devices datasheet january 2012 altera corporation the isp circuitry in the epc device is compliant with the ieee std. 1532 specification. the ieee std. 1532 is a standard that allows concurrent isp between devices from multiple vendors. f for more information about the epc device jtag support, refer to the configuration devices bsdl files page. epc devices can also be programmed by third-party flash programmers or on-board processors using the external flash interface. programming files ( .pof ) can be converted to a hexadecimal (intel-format) file ( .hexout ) using the quartus ii convert programming files utility, for use with the programmers or processors. table 11. jtag instructions for epc devices (1) jtag instruction opcode description sample/ preload 00 0101 0101 allows a snapshot of the state of the epc device pins to be captured and examined during normal device operation and permits an initial data pattern output at the device pins. extest 00 0000 0000 allows the external circuitry and board-level interconnections to be tested by forcing a test pattern at the output pins and capturing results at the input pins. bypass 11 1111 1111 places the 1-bit bypass register between the tdi and tdo pins, which allow the bst data to pass synchronously through a selected device to adjacent devices during normal device operation. idcode 00 0101 1001 selects the device idcode register and places it between tdi and tdo , allowing the device idcode to be serially shifted out to tdo . the device idcode for all epc devices is the same and shown below: 0100a0ddh usercode 00 0111 1001 selects the usercode register and places it between tdi and tdo , allowing the usercode to be serially shifted out the tdo . the 32-bit usercode is a programmable user-defined pattern. init_conf 00 0110 0001 this function initiates the fpga reconfiguration process by pulsing the n init_conf pin low, which is connected to the fpga n config pin. after this instruction is updated, the n init_conf pin is pulsed low when the jtag state machine enters run-test/idle state. the n init_conf pin is then released and n config is pulled high by the resistor after the jtag state machine goes out of run-test/idle state. the fpga configuration starts after n config goes high. as a result, the fpga is configured with the new configuration data stored in flash using isp. this function can be added to your programming file ( .pof , .jam , and .jbc ) in the quartus ii software by enabling the initiate configuration after programming option in the programmer options window (options menu). pendcfg 00 0110 0101 this optional function can be used to hold the n init_conf pin low during jtag-based isp of the epc device. this feature is useful when the external flash interface is controlled by an external fpga or processor. this function prevents contention on the flash pins when both the controller and external device try to access the flash simultaneously. before the epc device?s controller can access the flash memory, the external fpga/processor needs to tri-state its interface to flash.this can be ensured by resetting the fpga using the n init_conf , which drives the n config pin and keeps the external fpga or processor in the ?reset? state. the n init_conf pin is released when the initiate configuration ( init _ conf ) jtag instruction is issued. note to tab l e 1 1 : (1) instruction register length for the epc device is 10 and boundary scan length is 174.
page 28 ieee std. 1149.1 (jtag) boundary-scan enhanced configuration (epc) devices datasheet january 2012 altera corporation you can also program the epc devices using the quartus ii software, the altera programming unit (apu), and the appropriate configuration device programming adapter. table 12 lists which programming adapter to use with each epc device. ieee std. 1149.1 (jtag) boundary-scan the epc device provides jtag bst circuitry that complies with the ieee std. 1149.1-1990 specification. jtag bst can be performed before or after configuration, but not during configuration. figure 6 shows the timing requirements for the jtag signals. ta b l e 1 3 lists the timing parameters and values for the epc device. table 12. programming adapters device package adapter epc16 88-pin ufbga plmuepc-88 100-pin pqfp plmqepc-100 epc8 100-pin pqfp plmqepc-100 epc4 100-pin pqfp plmqepc-100 figure 6. jtag timing waveforms tdo tck t jpzx t jpco t jph t jpxz t jcp t jpsu t jcl t jch tdi tms signal to b e capt u red signal to b e driven t jszx t jssu t jsh t jsco t jsxz table 13. jtag timing parameters and values (part 1 of 2) symbol parameter min max unit t jcp tck clock period 100 ? ns t jch tck clock high time 50 ? ns t jcl tck clock low time 50 ? ns t jpsu jtag port setup time 20 ? ns t jph jtag port hold time 45 ? ns t jpco jtag port clock output ? 25 ns t jpzx jtag port high impedance to valid output ? 25 ns
timing information page 29 enhanced configuration (epc) devices datasheet january 2012 altera corporation timing information figure 7 shows the configuration timing waveform when you are using an epc device. ta b l e 1 4 lists the timing parameters when you are using the epc devices. t jpxz jtag port valid output to high impedance ? 25 ns t jssu capture register setup time 20 ? ns t jsh capture register hold time 45 ? ns t jsco update register clock to output ? 25 ns t jszx update register high-impedance to valid output ? 25 ns t jsxz update register valid output to high impedance ? 25 ns table 13. jtag timing parameters and values (part 2 of 2) symbol parameter min max unit figure 7. configuration timing waveform using an epc device notes to figure 7 : (1) the epc device drives dclk low after configuration. (2) the epc device drives data[] high after configuration. byte0 byte1 byte2 byte3 byten tr i - s t a t e user mode (2) t oezx t por t ch t cl t dsu t co t dh tr i - s t a t e oe/nstatus ncs/co n f_do n e dclk data[7..0] user i/o i n it_do n e ni n it_co n f or v cc/nco n fig table 14. epc device configuration parameters (part 1 of 2) symbol parameter condition min typ max unit f dclk dclk frequency 40% duty cycle ? ? 66.7 mhz t dclk dclk period ? 15 ? ? ns t hc dclk duty cycle high time 40% duty cycle 6 ? ? ns t lc dclk duty cycle low time 40% duty cycle 6 ? ? ns t ce oe to first dclk delay ? 40 ? ? ns t oe oe to first data available ? 40 ? ? ns t oh dclk rising edge to data change ? (1) ??ns t cf (2) oe assert to dclk disable delay ? 277 ? ? ns t df (2) oe assert to data disable delay ? 277 ? ? ns t re (3) dclk rising edge to oe ?60??ns t loe oe assert time to assure reset ? 60 ? ? ns f eclk exclk input frequency 40% duty cycle ? ? 100 mhz
page 30 timing information enhanced configuration (epc) devices datasheet january 2012 altera corporation t eclk exclk input period ? 10 ? ? ns t eclkh exclk input duty cycle high time 40% duty cycle 4 ? ? ns t eclkl exclk input duty cycle low time 40% duty cycle 4 ? ? ns t eclkr exclk input rise time 100 mhz ? ? 3 ns t eclkf exclk input fall time 100 mhz ? ? 3 ns t por (4) por time 2 ms 1 2 3 ms 100 ms 70 100 120 ms notes to ta bl e 14 : (1) to calculate t oh , use the following equation: t oh = 0.5 ( dclk period) - 2.5 ns. (2) this parameter is used for crc error detection by the fpga. (3) this parameter is used for conf _ done error detection by the epc device. (4) the fpga v ccint ramp time should be less than 1 ms for 2-ms por and it should be less than 70 ms for 100-ms por. table 14. epc device configuration parameters (part 2 of 2) symbol parameter condition min typ max unit
operating conditions page 31 enhanced configuration (epc) devices datasheet january 2012 altera corporation operating conditions ta b l e 1 5 through ta b l e 1 9 list information about absolute maximum ratings, recommended operating conditions, dc operating conditions, supply current values, and pin capacitance data for the epc devices. table 15. absolute maximum rating for epc devices symbol parameter condition min max unit v cc supply voltage with respect to ground -0.2 4.6 v v i dc input voltage with respect to ground -0.5 3.6 v i max dc v cc or ground current ? ? 100 ma i out dc output current, per pin ? -25 25 ma p d power dissipation ? ? 360 mw t stg storage temperature no bias -65 150 c t amb ambient temperature under bias -65 135 c t j junction temperature under bias ? 135 c table 16. recommended operating conditions for epc devices symbol parameter condition min max unit v cc supplies voltage for 3.3-v operation ? 3.0 3.6 v v i input voltage with respect to ground ?0.3 v cc + 0.3 v v o output voltage ? 0 v cc v t a operating temperature for commercial use 0 70 c for industrial use ?40 85 c for military use (1) ?55 125 c t r input rise time ? ? 20 ns t f input fall time ? ? 20 ns note to tab l e 1 6 : (1) applicable for ubga88 package of the epc16 device only. table 17. dc operating conditions for epc devices symbol parameter condition min typ max unit v cc supplies voltage to core ? 3.0 3.3 3.6 v v ih high-level input voltage ? 2.0 ? v cc + 0.3 v v il low-level input voltage ? ? ? 0.8 v v oh 3.3-v mode high-level ttl output voltage i oh = ?4 ma 2.4 ? ? v 3.3-v mode high-level cmos output voltage i oh = ?0.1 ma v cc ? 0.2 ? ? v v ol low-level output voltage ttl i ol = ?4 ma dc ? ? 0.45 v low-level output voltage cmos i ol = ?0.1 ma dc ? ? 0.2 v i i input leakage current v i = v cc or ground ?10 ? 10 ? a i oz tri-state output off-state current v o = v cc or ground ?10 ? 10 ? a
page 32 package enhanced configuration (epc) devices datasheet january 2012 altera corporation package the epc16 device is available in both the 88-pin ufbga package and the 100-pin pqfp package. the ufbga package, which is based on 0.8-mm ball pitch, maximizes board space efficiency. a board can be laid out for this package using a single pcb layer. the epc8 and epc4 devices are available in the 100-pin pqfp package. epc devices support vertical migration in the 100-pin pqfp package. tab le 1 8. i cc supply current values for epc devices symbol parameter condition min typ max unit i cc0 current (standby) ? ? 50 150 ? a i cc1 v cc supply current (during configuration) ??6090ma i ccw v ccw supply current ? ? (1) (1) ? note to tab l e 1 8 : (1) for the v ccw supply current information, refer to the appropriate flash memory data sheet at www.altera.com . table 19. capacitance for epc devices symbol parameter condition min max unit cin input pin capacitance ? ? 10 pf cout output pin capacitance ? ? 10 pf
package page 33 enhanced configuration (epc) devices datasheet january 2012 altera corporation figure 8 shows the pcb routing for the 88-pin ufbga package. the gerber file for this layout is on the altera website. figure 8. pcb routing for 88-pin ufbga package (1) notes to figure 8 : (1) if the external flash interface feature is not used, then the flash pins should be left unconnected because they are interna lly connected to the controller unit. the only pins that need external connections are wp# , we# , and rp# . if the flash is being used as an external memory source, then the flash pins should be connected as outlined in the pin descriptions section. (2) f-rp# and f-we# are pins on the flash die. c-rp# and c-we# are pins on the controller die. c-we# and f-we# should be connected together on the pcb. f-rp# and c-rp# should also be connected together on the pcb. (3) wp# (write protection pin) should be connected to a high level (3.3 v) to be able to program the flash bottom boot block, which is required when programming the device using the quartus ii software. (4) ry/by# is only available in sharp flash-based epc devices. (5) pin d3 is a nc pin for intel flash-based epc16. n c oe v cc tck tdi tdo tms ncs g n d a20 a16 g n d w p# (3) n c a18 exclk a11 a8 v cc w n c a17 a5 a15 a10 ni n it co n f tm1 a19 pgm2 a7 a4 a14 a9 pgm1 v cc dq11 porsel a6 a0 a13 dq15 dq13 a12 g n d dclk data7 n c data6 data5 dq7 dq14 pgm0 n c g n d tm0 oe# g n d ce# data0 g n d v cc a1 a2 a3 dq9 data4 data3 data2 data1 dq5 v cc dq3 dq1 dq4 v cc dq2 dq0 dq6 dq12 v cc dq10 dq8 n c v cc ry/by# c- w e# f- w e# f-rp# c-rp# (2) (2) (2) (2) (4) (5)
page 34 package enhanced configuration (epc) devices datasheet january 2012 altera corporation package layout recommendation sharp flash-based epc16 and epc8 devices in the 100-pin pqfp packages have different package dimensions than other altera 100-pin pqfp devices (including the micron flash-based epc4 and intel flash-based epc16, epc8, and epc4). figure 9 shows the 100-pin pqfp pcb footprint specifications for epc devices that allows vertical migration between all devices. these footprint dimensions are based on vendor-supplied package outline diagrams. f for more information about package outline drawings, refer to the package and thermal resistance page. figure 9. epc device pcb footprint specifications for 100-pin pqfp packages (1) , (2) notes to figure 9 : (1) used 0.5-mm increase for front a nd back of nominal foot length. (2) used 0.3-mm increase to maximum foot width. 2.4 mm 0.65-mm pad pitch 0.410 mm 0.325 mm 25.3 mm 19.3 mm 1.0 2.0 0.5 1.5 mm
device pin-outs page 35 enhanced configuration (epc) devices datasheet january 2012 altera corporation device pin-outs f for more information, refer to the configuration devices pin-out files page. document revision history ta b l e 2 0 lists the revision history for this document. table 20. document revision history date version changes january 2012 3.0 minor text edits. june 2011 2.9 updated table 1?3 and table 1?16. december 2009 2.8 added table 1?1 and table 1?2. updated table 1?17 and table 1?18. removed ?referenced documents? section. october 2008 2.7 updated table 2?1, table 2?7, and table 2?8. updated figure 2?2, figure 2?3, and figure 2?4. updated ?jtag-based programming? section. added ?intel-flash-based epc device protection? section. updated new document format. may 2008 2.6 minor textual and style changes. added ?referenced documents? section. february 2008 2.5 updated table 2?18 with information about epc16ui88aa. may 2007 2.4 added ?intel-flash-based epc device protection? section. april 2007 2.3 added document revision history. october 2005 2.2 made changes to content. july 2004 2.0 added stratix ii and cyclone ii device information throughout chapter. updated vccw connection in figure 2?2, figure 2?3, and figure 2?4. updated (note 2) of figure 2?2, figure 2?3, and figure 2?4. updated (note 4) of table 2?12. updated unit of icc0 in table 2?16. added iccw to table 2?16. september 2003 1.0 initial release.
page 36 document revision history enhanced configuration (epc) devices datasheet january 2012 altera corporation


▲Up To Search▲   

 
Price & Availability of EP1K50

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X